Package com.cisco.pt.ipc.sim.impl
Class FlowImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.FlowImpl
Information provided by the PKI file:
\class Flow
\brief Flow holds and manipulates the flow routes in FlowTable objects.
\example network().getDevice("Router0").getProcess("IpsecProcess").getCryptoMapSetAt(0).getTableAtIndex(0).getFlowAt(0)
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionFlowImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptiongetPeerAt(int index) Information provided by the PKI file:getPeerByIp(IPAddress addr) Information provided by the PKI file:intInformation provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
FlowImpl
public FlowImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getPeerCount
public int getPeerCount()Information provided by the PKI file:
\brief Returns the number of peers. \return int, the number of peers.- Specified by:
getPeerCountin interfaceFlow- Returns:
- int Returns a int
-
getPeerAt
Information provided by the PKI file:
\brief Returns the peer at the specified index. \param index, the index of the peer of interest. \return IpsecPeer, the IpsecPeer object at the specified index. -
getPeerByIp
Information provided by the PKI file:
\brief Returns the peer with the specified IP address. \param addr, the IP address of the peer of interest. \return IpsecPeer, the IpsecPeer object with the specified IP address.- Specified by:
getPeerByIpin interfaceFlow- Parameters:
addr- Takes in a parameter of addr- Returns:
- IPsecPeer Returns a IPsecPeer
-